<div class="col-md-12">
	<div class="portlet light bordered">
		<div class="portlet-body" style="height: 13px;padding-top: 0px">
				<div style="float: left;">
					<span>订单记录</span>
				</div>
				<div style="float: right;">
					
				</div>
		</div>
	</div>    
</div>
<div class="col-md-12">
	<div class="portlet light bordered">
		<div class="portlet-body" id="orderRecordBody">
			<table id="grid">
				<tr>
					<td>
						<div class="loadingAjax">
						</div>
					</td>
				</tr>
			</table>
			<br />
			<table width="667" class='ttTurnPageTbl'>
				<tr>
					
					<td id='perPageNum'></td>
					<td id="DataCount"></td>
					<td>
						<div style="width:150px;">
							<label onclick="prePage()" id="prePageBtn">上一页</label>&nbsp;&nbsp;
							<label onclick="nextPage()" id="nextPageBtn">下一页</label>
						</div>
					</td>
					<td id="CPofAP"></td>
					<td>转到：
					<select id="toPageNum"></select>页<input type="button" value="跳转" onClick="toPage()"></td>
				</tr>
			</table>
		</div>
	</div>    
</div>
<script type="text/javascript">
var actionUrl=BASE_URL + "/customerDetail/orderRecord/getList.do?customerId="+id;
var start = 0;
var len=10;
var initTitleArr = ['订单编号', '产品', '类型', '数量', '金额', '合同', '成交时间', '状态'];
var initNameArr = ['fun_orderCode', 'itemNm', 'fun_sellId', 'sub_quantity', 'sub_total', 'fun_contract', 'createdAt', 'fun_status'];
function orders_details(orderId){
	if(orderId||orderId==0){
		CommonUtils.editModal(BASE_URL + "/customerDetail/orderRecord/orderDetail.do?orderId="+orderId, 800);
	}
}
</script>
<script src="${request.getContextPath()}/Public/js/customerDetail/orderRecord.js" type="text/javascript"></script>
